package com.one.rope.mvp.web.business.dao;

import com.one.rope.mvp.web.business.entity.CompanyProjectPartner;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.one.rope.mvp.web.common.dto.user.business.PartnerListItemVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 项目合伙人岗位表 Mapper 接口
 * </p>
 *
 * @author wesley
 * @since 2020-02-20
 */
@Repository
public interface CompanyProjectPartnerMapper extends BaseMapper<CompanyProjectPartner> {

  /**
   * 查询合伙人岗位列表
   * @param companyId
   * @return
   */
  List<PartnerListItemVO> selectPartnerList(@Param("companyId") Long companyId);
}
